Overlay tunnel information exchange protocol

ABSTRACT

In one embodiment, a system includes logic adapted for receiving, at a first end point station, an information exchange packet from each end point station in a virtual network having a specified virtual network identifier (VNID) and logic adapted for processing each received information exchange packet to retrieve information about connections at each end point station in the virtual network having the specified VNID, wherein each end point station either terminates or originates a tunnel shared by the first end point station in an overlay network. In this way, the information may be used to respond to address resolution protocol (ARP) requests sent locally in lieu of flooding the ARP request. Other systems, methods, and computer program products are also presented regarding the overlay tunnel information exchange protocol, according to various embodiments.

BACKGROUND

The present invention relates to data center infrastructure, and moreparticularly, this invention relates to exchanging tunnel informationover an overlay network.

Network virtualization is an emerging data center and cloud computingtrend which aims to virtualize a network as seen by end stations in away that greatly simplifies network provisioning in multi-tenantenvironments, as well as traditional environments. One of the morecommon techniques of achieving network virtualization is to use networkoverlays, where tunnels are established between servers, edge networkswitches, and gateways to which end stations connect. The tunnel isactually implemented by encapsulating packets transmitted by a sourceend station into an overlay header that transports the packet from thesource switch to a target switch in user datagram protocol (UDP)transport via an interne protocol (IP)-based network. The overlay headerincludes an identifier (ID) that uniquely identifies the virtualnetwork. The target switch strips off the overlay header encapsulation,UDP transport header, and IP header, and delivers the original packet tothe destination end station. In addition to this tunneling mechanism,the edge switches participate in an address discovery protocol, whichmay be learning/flooding based, or lookup-based.

Overlay networks like Virtual eXtensible Local Area Network (VXLAN)connect geographically separated Layer-2 (L2) networks using tunnels.These are L2 over Layer-3 (L3) tunnels. L2 packets originated by avirtual machine (VM) in a VXLAN and destined to another VM or group ofVMs in same VXLAN in another physical location are carried over L3tunnels.

All unicast packets to known destinations are carried in unicast L3packets by the tunnel end points. All broadcast packets, like addressresolution protocol (ARP), standard L2 multicast packets, and unicastpackets to unknown destinations are encapsulated in multicast L3packets.

In order to support overlay networks like VXLAN, it is advantageous tosupport IP multicast and multicast routing protocols, like protocolindependent multicast (PIM)-sparse mode (SM).

One conventionally used solution to providing address discovery protocolinvolves performing ARP functionality at the so-called virtual switches,which are actually software entities that reside within Hypervisors.Virtual switches connect multiple virtual end stations, e.g., deviceslike VMs, to each other and to the physical network.

However, the use of ARP to discover addresses has its drawbacks.Particularly, if an ARP request is originated from a VM, the ARP requestis sent as a multicast packet using the multicast IP address throughtunnels to all devices in a particular virtual network. Then, the devicewhich recognizes the address referenced in the ARP packet responds tothe ARP request indicating the device's media access control (MAC)address. In this way, the source MAC address of the destination deviceand the source IP address for the tunnel end points are learned by thedevice which sent the ARP request, and may be mapped together so thatsubsequent packets destined for this device may be sent without ARP.However, this involves the unnecessary step of repeating this floodingthrough the tunnel for each ARP request and for forwarding all packetshaving an unknown unicast destination address associated therewith. Thisresults in a complex deployment of IP multicasting in IP networks whichutilize network overlays.

SUMMARY

In one embodiment, a system includes logic adapted for receiving, at afirst end point station, an information exchange packet from each endpoint station in a virtual network having a specified virtual networkidentifier (VNID) and logic adapted for processing each receivedinformation exchange packet to retrieve information about connections ateach end point station in the virtual network having the specified VNID,wherein each end point station either terminates or originates a tunnelshared by the first end point station in an overlay network.

In another embodiment, a computer program product for exchanging overlaytunnel information includes a computer readable storage medium havingcomputer readable program code embodied therewith, the computer readableprogram code including computer readable program code configured forreceiving, at a first end point station, an information exchange packetfrom each end point station in a virtual network having a specifiedVNID, and computer readable program code configured for processing eachreceived information exchange packet to retrieve information aboutconnections at each end point station in the virtual network having thespecified VNID, wherein each end point station either terminates ororiginates a tunnel shared by the first end point station in an overlaynetwork.

Other aspects and embodiments of the present invention will becomeapparent from the following detailed description, which, when taken inconjunction with the drawings, illustrate by way of example theprinciples of the invention.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

FIG. 1 illustrates a network architecture, in accordance with oneembodiment.

FIG. 2 shows a representative hardware environment that may beassociated with the servers and/or clients of FIG. 1, in accordance withone embodiment.

FIG. 3 is a simplified diagram of a virtualized data center, accordingto one embodiment.

FIG. 4 shows a system that is capable of exchanging overlay tunnelinformation, according to the prior art.

FIG. 5 is a flowchart of a method, according to one embodiment.

FIG. 6 is a simplified schematic of frame formats for the overlay tunnelinformation exchange protocol, according to one embodiment.

FIG. 7 is a simplified schematic of timing for information exchangeusing the overlay tunnel information exchange protocol, according to oneembodiment.

DETAILED DESCRIPTION

The following description is made for the purpose of illustrating thegeneral principles of the present invention and is not meant to limitthe inventive concepts claimed herein. Further, particular featuresdescribed herein can be used in combination with other describedfeatures in each of the various possible combinations and permutations.

Unless otherwise specifically defined herein, all terms are to be giventheir broadest possible interpretation including meanings implied fromthe specification as well as meanings understood by those skilled in theart and/or as defined in dictionaries, treatises, etc.

It must also be noted that, as used in the specification and theappended claims, the singular forms “a,” “an,” and “the” include pluralreferents unless otherwise specified.

In one approach, an overlay tunnel information exchange protocol (OTIEP)is implemented which may act in conjunction with (for legacy networks)or in place of address resolution protocol (ARP) for determining unknownaddresses across an overlay network.

In one general embodiment, a system includes logic adapted forreceiving, at a first end point station, an information exchange packetfrom each end point station in a virtual network having a specifiedvirtual network identifier (VNID) and logic adapted for processing eachreceived information exchange packet to retrieve information aboutconnections at each end point station in the virtual network having thespecified VNID, wherein each end point station either terminates ororiginates a tunnel shared by the first end point station in an overlaynetwork.

In another general embodiment, a computer program product for exchangingoverlay tunnel information includes a computer readable storage mediumhaving computer readable program code embodied therewith, the computerreadable program code including computer readable program codeconfigured for receiving, at a first end point station, an informationexchange packet from each end point station in a virtual network havinga specified VNID, and computer readable program code configured forprocessing each received information exchange packet to retrieveinformation about connections at each end point station in the virtualnetwork having the specified VNID, wherein each end point station eitherterminates or originates a tunnel shared by the first end point stationin an overlay network.

In yet another general embodiment, a method for exchanging overlaytunnel information includes receiving an information exchange packet, ata first end point station, from each end point station in a virtualnetwork having a specified VNID, and processing each receivedinformation exchange packet to retrieve information about connections ateach end point station in the virtual network having the specified VNID,wherein each end point station either terminates or originates a tunnelshared by the first end point station in an overlay network.

As will be appreciated by one skilled in the art, aspects of the presentinvention may be embodied as a system, method or computer programproduct. Accordingly, aspects of the present invention may take the formof an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.) or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as “logic,” a “circuit,” “module,” or“system.” Furthermore, aspects of the present invention may take theform of a computer program product embodied in one or more computerreadable medium(s) having computer readable program code embodiedthereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a non-transitory computer readable storage medium. Anon-transitory computer readable storage medium may be, for example, butnot limited to, an electronic, magnetic, optical, electromagnetic,infrared, or semiconductor system, apparatus, or device, or any suitablecombination of the foregoing. More specific examples (a non-exhaustivelist) of the non-transitory computer readable storage medium include thefollowing: a portable computer diskette, a hard disk, a random accessmemory (RAM), a read-only memory (ROM), an erasable programmableread-only memory (EPROM or Flash memory), a portable compact discread-only memory (CD-ROM), a Blu-Ray disc read-only memory (BD-ROM), anoptical storage device, a magnetic storage device, or any suitablecombination of the foregoing. In the context of this document, anon-transitory computer readable storage medium may be any tangiblemedium that is capable of containing, or storing a program orapplication for use by or in connection with an instruction executionsystem, apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a non-transitory computer readable storage medium and that cancommunicate, propagate, or transport a program for use by or inconnection with an instruction execution system, apparatus, or device,such as an electrical connection having one or more wires, an opticalfiber, etc.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, radio frequency (RF), etc., or anysuitable combination of the foregoing.

Computer program code for carrying out operations for aspects of thepresent invention may be written in any combination of one or moreprogramming languages, including an object oriented programming languagesuch as Java, Smalltalk, C++, or the like, and conventional proceduralprogramming languages, such as the “C” programming language or similarprogramming languages. The program code may execute entirely on a user'scomputer, partly on the user's computer, as a stand-alone softwarepackage, partly on the user's computer and partly on a remote computeror entirely on the remote computer or server. In the latter scenario,the remote computer or server may be connected to the user's computerthrough any type of network, including a local area network (LAN),storage area network (SAN), and/or a wide area network (WAN), anyvirtual networks, or the connection may be made to an external computer,for example through the Internet using an Internet Service Provider(ISP).

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatuses(systems), and computer program products according to variousembodiments of the invention. It will be understood that each block ofthe flowchart illustrations and/or block diagrams, and combinations ofblocks in the flowchart illustrations and/or block diagrams, may beimplemented by computer program instructions. These computer programinstructions may be provided to a processor of a general purposecomputer, special purpose computer, or other programmable dataprocessing apparatus to produce a machine, such that the instructions,which execute via the processor of the computer or other programmabledata processing apparatus, create means for implementing thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

These computer program instructions may also be stored in a computerreadable medium that may direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

FIG. 1 illustrates a network architecture 100, in accordance with oneembodiment. As shown in FIG. 1, a plurality of remote networks 102 areprovided including a first remote network 104 and a second remotenetwork 106. A gateway 101 may be coupled between the remote networks102 and a proximate network 108. In the context of the present networkarchitecture 100, the networks 104, 106 may each take any formincluding, but not limited to a LAN, a VLAN, a WAN such as the Internet,public switched telephone network (PSTN), internal telephone network,etc.

In use, the gateway 101 serves as an entrance point from the remotenetworks 102 to the proximate network 108. As such, the gateway 101 mayfunction as a router, which is capable of directing a given packet ofdata that arrives at the gateway 101, and a switch, which furnishes theactual path in and out of the gateway 101 for a given packet.

Further included is at least one data server 114 coupled to theproximate network 108, and which is accessible from the remote networks102 via the gateway 101. It should be noted that the data server(s) 114may include any type of computing device/groupware. Coupled to each dataserver 114 is a plurality of user devices 116. Such user devices 116 mayinclude a desktop computer, laptop computer, handheld computer, printer,and/or any other type of logic-containing device. It should be notedthat a user device 111 may also be directly coupled to any of thenetworks, in some embodiments.

A peripheral 120 or series of peripherals 120, e.g., facsimile machines,printers, scanners, hard disk drives, networked and/or local storageunits or systems, etc., may be coupled to one or more of the networks104, 106, 108. It should be noted that databases and/or additionalcomponents may be utilized with, or integrated into, any type of networkelement coupled to the networks 104, 106, 108. In the context of thepresent description, a network element may refer to any component of anetwork.

According to some approaches, methods and systems described herein maybe implemented with and/or on virtual systems and/or systems whichemulate one or more other systems, such as a UNIX system which emulatesan IBM z/OS environment, a UNIX system which virtually hosts a MICROSOFTWINDOWS environment, a MICROSOFT WINDOWS system which emulates an IBMz/OS environment, etc. This virtualization and/or emulation may beenhanced through the use of VMWARE software, in some embodiments.

In more approaches, one or more networks 104, 106, 108, may represent acluster of systems commonly referred to as a “cloud.” In cloudcomputing, shared resources, such as processing power, peripherals,software, data, servers, etc., are provided to any system in the cloudin an on-demand relationship, thereby allowing access and distributionof services across many computing systems. Cloud computing typicallyinvolves an Internet connection between the systems operating in thecloud, but other techniques of connecting the systems may also be used,as known in the art.

FIG. 2 shows a representative hardware environment associated with auser device 116 and/or server 114 of FIG. 1, in accordance with oneembodiment. FIG. 2 illustrates a typical hardware configuration of aworkstation having a central processing unit (CPU) 210, such as amicroprocessor, and a number of other units interconnected via one ormore buses 212 which may be of different types, such as a local bus, aparallel bus, a serial bus, etc., according to several embodiments.Other types of processors may also be used, such as an integratedcircuit (IC), an application specific integrated circuit (ASIC), a fieldprogrammable gate array (FPGA), or any other type of processor known inthe art.

The workstation shown in FIG. 2 includes a Random Access Memory (RAM)214, Read Only Memory (ROM) 216, an I/O adapter 218 for connectingperipheral devices such as disk storage units 220 to the one or morebuses 212, a user interface adapter 222 for connecting a keyboard 224, amouse 226, a speaker 228, a microphone 232, and/or other user interfacedevices such as a touch screen, a digital camera (not shown), etc., tothe one or more buses 212, communication adapter 234 for connecting theworkstation to a communication network 235 (e.g., a data processingnetwork) and a display adapter 236 for connecting the one or more buses212 to a display device 238.

The workstation may have resident thereon an operating system such asthe MICROSOFT WINDOWS Operating System (OS), a MAC OS, a UNIX OS, etc.It will be appreciated that a preferred embodiment may also beimplemented on platforms and operating systems other than thosementioned. A preferred embodiment may be written using JAVA, XML, C,and/or C++ language, or other programming languages, along with anobject oriented programming methodology. Object oriented programming(OOP), which has become increasingly used to develop complexapplications, may be used.

Referring now to FIG. 3, a conceptual view of an overlay network 300 isshown according to one embodiment. In order to virtualize networkservices, other than simply providing a fabric path (connectivity)between devices, services may be rendered on packets as they movethrough the gateway 314 which provides routing and forwarding forpackets moving between the non-virtual network(s) 312 and the VirtualNetwork A 304 and Virtual Network B 306. The one or more virtualnetworks 304, 306 exist within a physical (real) network infrastructure302. The network infrastructure 302 may include any components,hardware, software, and/or functionality typically associated withand/or used in a network infrastructure, including, but not limited to,switches, connectors, wires, circuits, cables, servers, hosts, storagemedia, operating systems, applications, ports, I/O, etc., as would beknown by one of skill in the art. This network infrastructure 302supports at least one non-virtual network 312, which may be a legacynetwork.

Each virtual network 304, 306 may use any number of virtual machines(VMs) 308, 310. In one embodiment, Virtual Network A 304 includes one ormore VMs 308, and Virtual Network B 306 includes one or more VMs 310. Asshown in FIG. 3, the VMs 308, 310 are not shared by the virtual networks304, 306, but instead are exclusively included in only one virtualnetwork 304, 306 at any given time.

According to one embodiment, the overlay network 300 may tunnel throughone or more cell switched domain scalable fabric components (SFCs)interconnected with one or more distributed line cards (DLCs).

By having a “flat switch” architecture, the plurality of VMs may movedata across the architecture easily and efficiently. It is verydifficult for VMs, generally, to move across layer-3 domains, betweenone subnet to another subnet, internet protocol (IP) subnet to IPsubnet, etc. But if it the architecture is similar to a large flatswitch, in a very large layer-2 domain, then the VMs are aided in theirattempt to move data across the architecture.

Components of an overlay network 300 typically identify where to routepackets based on a virtual network identifier, referred to as a VNI orVNID. This is typically a 24-bit code or number, which excludes 0x0 and0xFFFFFF. The overlay network 300 has the capability of tunnelinglayer-2 packets over the layer-3 network by encapsulating the layer-2packets into an overlay header. This may be performed using VirtualeXtensible Local Area Network (VXLAN) or some other overlay capableprotocol, such as locator/ID separation protocol (LISP), overlaytransport virtualization (OTV), etc. The packet may also be encapsulatedin a user datagram protocol (UDP) and internet protocol (IP) UDP/IPheader. The overlay network 300 may include one or more point-to-pointtunnels, and/or point-to-multipoint tunnels. In addition, any of thesetunnels may be created, removed, altered and modified based on anynumber of factors, such as new devices being added to the overlaynetwork 300, removal of devices from the overlay network 300, startup ofany end devices, i.e., devices managing tunnel end points, such asvirtual overlay network gateways, Hypervisors, switches capable ofoverlay functionality, etc. In order for a device to manage a tunnel,there needs to be a mapping between an original packet's source address,destination address, and a tunnel identifier. In this way, a physicalserver is capable of forwarding the encapsulated original packet to theproper destination device.

FIG. 4 shows a system 400 according to one embodiment. As shown, theHypervisors 410 are capable of tunneling 406 through the virtual network414 to each other. Of course, this is a simplified architecture, andmany more tunnels may exist, and many more end point stations (wheretunnels are originated or terminated) may be in the overlay network, aswould be understood by one of skill in the art.

Each Hypervisor 410 may be connected to any number of VMs 412. Inaddition, a network interface card (NIC) 408 may be located on adownstream side of each Hypervisor 410. A virtual overlay networkgateway 420 may be provided to interface between virtual networks 414,416, and any non-virtualized networks present, such as non-virtualizednetworks 422, 424, any of which may be enabled for VXLAN or not. Inaddition, a server 418 may be provided which may also function as atunnel end point station, in some approaches.

The system 400, and particularly the first end point station, in someembodiments, may include logic adapted for receiving, at the first endpoint station (which may be Hypervisor 410 in network 402, Hypervisor innetwork 404, server 418, etc.), an information exchange packet from eachend point station in a virtual network having a specified VNID. Thesystem 400 also may include logic adapted for processing each receivedinformation exchange packet to retrieve information about connections ateach end point station in the virtual network having the specified VNID.As used herein, each end point station either terminates or originates atunnel shared by the first end point station in an overlay network.

In addition, the information exchange packet may comprise, at least, amedia access control (MAC) address for each virtual machine (VM)connected to each end point station that is in the virtual networkhaving the specified VNID. Furthermore, the system 400 may furtherinclude logic adapted for mapping tunnel identifiers for each end pointstation and the MAC address for each VM connected to each end pointstation.

In another approach, the system 400 may further include logic adaptedfor sending an information exchange packet to each tunnel end point inthe virtual network having the specified VNID. Furthermore, theinformation exchange packet may include a MAC address for each VMconnected to the first end point station, such as a forwarding database(FDB) record, that is in the virtual network having the specified VNID.

In more approaches, the information exchange packet may be sent inresponse to any one of the following events, among other possibilities:establishment of a tunnel, addition of a VM which is a member of thevirtual network having the specified VNID, subtraction of a VM which isa member of the virtual network having the specified VNID, expiration ofa predetermined amount of time, a change in a configuration of any VM inwhich is a member of the virtual network having the specified VNID,change in overlay gateway properties, and change of a tunnel informationbase (TIB) on any overlay gateway.

The tunnel end point stations may exchange information including localARP entries from the virtual network having the specified VNID in thespecified frame format, in some approaches.

According to another embodiment, the information exchange packet may besent periodically, e.g., once per each period of time, such as every 30seconds, 1 minute, 10 minutes, 30 minutes, 1 hour, 6 hours, etc. In thisembodiment, the sending of the information exchange packet may act inconjunction with a “heartbeat” function, where if the informationexchange packet is not received during an anticipated timeframe, adevice which anticipated receipt of the packet may request that thepacket be sent. If the packet is still not received, it may indicate aproblem in communication or a device failure. Accordingly, anadministrator may be alerted to such a situation, in an attempt torectify and solve whatever issue may have arisen.

In another embodiment, the logic adapted for processing each receivedinformation exchange packet may comprise logic adapted forde-encapsulating an overlay header from the information exchange packetto retrieve an inner packet, and logic adapted for reading the innerpacket to determine the information about each end point station in thevirtual network having the specified VNID that is contained in the innerpacket.

The system 400 may also include logic adapted for using the TIB torespond to an ARP request sent from a local member VM of the virtualnetwork having the specified VNID. For example, the system 400 mayinclude logic adapted for receiving an ARP request from a local memberVM of the virtual network having the specified VNID, the ARP requestincluding a subject IP address, logic adapted for resolving the ARPrequest by using the TIB to determine a MAC address corresponding to thesubject IP address, and logic adapted for responding to the local memberVM that sent the ARP request with the MAC address corresponding to thesubject IP address.

Now referring to FIG. 5, a flowchart of a method 500 for exchangingoverlay tunnel information is shown, according to one embodiment. Themethod 500 may be performed in accordance with the present invention inany of the environments depicted in FIGS. 1-4, among others, in variousembodiments. Of course, more or less operations than those specificallydescribed in FIG. 5 may be included in method 500, as would beunderstood by one of skill in the art upon reading the presentdescriptions.

Each of the steps of the method 500 may be performed by any suitablecomponent of the operating environment. For example, in one embodiment,the method 500 may be partially or entirely performed by an overlayswitch, a processor (such as a CPU, an ASIC, a FPGA, etc.), an end pointstation (such as a Hypervisor, virtual overlay network gateway device,overlay switch capable of originating or terminating a tunnel, etc.), orcomputer program code embedded in a computer readable storage medium, invarious approaches.

As used herein, an end point station is any device, physical or virtual,that is capable of terminating or originating a tunnel (such that theend point resides at the device). Some examples of end point stationsinclude Hypervisors, virtual overlay network gateway devices, switchescapable of overlay functionality, VMs capable of overlay functionality,etc.

As shown in FIG. 5, method 500 may initiate with operation 502, where aninformation exchange packet is received at a first end point station.Multiple information exchange packets may be received from any one endpoint station, and information exchange packets are received from eachend point station that resides in a virtual network having a specifiedvirtual network identifier (VNID).

In each embodiment of method 500, each end point station eitherterminates or originates a tunnel shared by the first end point stationin an overlay network. In this way, the first end point station, byperforming method 500, is able to determine all devices which areaccessible through tunnels that the first end point station is capableof utilizing.

In operation 504, each received information exchange packet is processedto retrieve information about connections at each end point station inthe virtual network having the specified VNID. The connections at eachend point station may be to switches, routers, VMs, or any other devicesthat are connected to the end point station and are in the specifiedvirtual network.

According to one approach, the processing of each received informationexchange packet may comprise de-encapsulating an overlay header from theinformation exchange packet to retrieve an inner packet, and reading theinner packet to determine or otherwise discovering the information aboutconnections at each end point station in the virtual network having thespecified VNID that is contained in the inner packet, as sent by eachend point station.

In one embodiment, the information exchange packet may comprise, atleast, a MAC address for each VM connected to each end point stationthat is in the virtual network having the specified VNID. In this way,when a packet is intended for one of these VMs at a termination of atunnel, the first end point station will know which tunnel to send thepacket in order to reach the proper VM.

In one embodiment, the method 500 may further include optional operation506, where an information exchange packet may be sent to each end pointstation in the virtual network having the specified VNID. According toone approach, the information exchange packet may comprise at least MACaddresses for each VM connected to the first end point station that isin the virtual network having the specified VNID. In this way, each endpoint station that shares a tunnel with the first end point station willlearn all the MAC addresses of VMs connected to the first end pointstation.

In a further embodiment, the information exchange packet may be sent inresponse to any action, event, change, or condition being met. Accordingto one example, any one of the following may trigger the informationexchange packet to be sent: establishment of a tunnel, addition of a VMwhich is a member of the virtual network having the specified VNID,subtraction of a VM which is a member of the virtual network having thespecified VNID, expiration of a predetermined amount of time, a changein a configuration of any VM in which is a member of the virtual networkhaving the specified VNID, change in overlay gateway properties, andchange of a TIB on any overlay gateway.

According to another embodiment, the information exchange packet may besent periodically, e.g., once per each period of time, such as every 30seconds, 1 minute, 10 minutes, 30 minutes, 1 hour, 6 hours, etc. In thisembodiment, the sending of the information exchange packet may act inconjunction with a “heartbeat” function, where if the informationexchange packet is not received during an anticipated timeframe, adevice which anticipated receipt of the packet may request that thepacket be sent. If the packet is still not received, it may indicate aproblem in communication or a device failure. Accordingly, anadministrator may be alerted to such a situation, in an attempt torectify and solve whatever issue may have arisen.

According to another embodiment, the method 500 may further includeoptional operation 508, where tunnel identifiers for each end pointstation and the MAC address for each VM connected to each end pointstation may be mapped. The mapping may be performed by creating a listof all MAC addresses for VMs along with the tunnel identifier wherethose VMs are accessible.

In a further approach, the method 500 may further include optionaloperation 510, where a Tunnel Information Base (TIB) may be assembled(such as from information in the information exchange packet, and otherinformation available to or determinable by a point end station or ahypervisor operating on a point end station). In this way, the MACaddress for each VM connected to each end point station and otherinformation may be included in the TIB, which may be maintained invarious forms. In one embodiment, the TIB may be a table of informationrelated to tunnel end points which may comprise any or all of thefollowing: a Tunnel ID, the specified VNID, MAC addresses of member VMsof the virtual network having the specified VNID, virtual port numberscorresponding to a hosting hypervisor, ARP entries learnt by the memberVMs of the virtual network having the specified VNID, timers related totunnel end points, a tunnel end point source IP Address, apoint-to-point or multipoint nature of the tunnel, an IP Address of apeer tunnel end point, shared forwarding tables of all the member VMs ofthe virtual network having the specified VNID, a default Gateway MACaddress of each of the member VMs, multicast MAC and IP addresses usedby all the member VMs of the virtual network having the specified VNID,and/or Virtual Port members or a Mask of member virtual ports of thevirtual network having the specified VNID.

According to another embodiment, the method may further include anexchange operation where tunnel identifiers for each tunnel end pointand the ARP entries for each VM using that tunnel end point may bemapped. The mapping may be performed by creating a list of all ARPentries for VMs along with the tunnel identifier where those VM ARPs areaccessible. In one embodiment, the mapping may comprise assembling aTIB.

This TIB may be used to respond to ARP requests sent from local VMs thatare hosted by a tunnel end point station. The hypervisor on this tunnelend point station may search the TIB to determine if the requestedinformation is stored (e.g., the MAC address corresponding the requestedIP address in the ARP request). If the TIB includes this information,then the hypervisor on this tunnel end point station may resolve the ARPrequest, and respond to the requesting local VM with the MAC addressmatching the requested IP address. In this way, the network is precludedfrom having the ARP request flooded out to all VMs, since the hypervisormay not send out the ARP request after the address has been determined(locally using information in the TIB).

A local VM may be any VM which is hosted by a hypervisor on a particularend point station, which may therefore resolve the ARP request withoutflooding the network with the request.

According to another embodiment, the TIB may be used to respond to anARP request sent from a local member VM of the virtual network havingthe specified VNID. For example, the method 500 may include receiving anARP request from a local member VM of the virtual network having thespecified VNID, the ARP request including a subject IP address,resolving the ARP request by using the TIB to determine a MAC addresscorresponding to the subject. IP address, and responding to the localmember VM that sent the ARP request with the MAC address correspondingto the subject IP address.

According to another embodiment, the method 500 may be executed from acomputer program product using a processor capable of executing suchcomputer readable program code. For example, a computer program productfor exchanging overlay tunnel information may include a computerreadable storage medium having computer readable program code embodiedtherewith. The computer readable program code may comprise some or allof: computer readable program code configured for receiving, at a firstend point station, an information exchange packet from each end pointstation in a virtual network having a specified VNID, and computerreadable program code configured for processing each receivedinformation exchange packet to retrieve information about connections ateach end point station in the virtual network having the specified VNID.In this embodiment, each end point station either terminates ororiginates a tunnel shared by the first end point station in an overlaynetwork.

In one approach, the information exchange packet may comprise at least aMAC address for each VM connected to each end point station that is inthe virtual network having the specified VNID. In addition, the tunnelidentifier for a tunnel which has access to each VM may be learnt basedon which tunnel the information exchange packet is received on.

Furthermore, the computer program product may include computer readableprogram code configured for mapping tunnel identifiers for each endpoint station and the MAC address for each VM hosted at each end pointstation.

In addition, the computer program product may include computer readableprogram code configured for sending an information exchange packet toeach end point station in the virtual network having the specified VNID.

In any embodiment described herein, the information exchange packet maybe sent in response to any one of the following, among other possibleevents: establishment of an overlay tunnel, addition of a VM which is amember of the virtual network having the specified VNID, subtraction ofa VM which is a member of the virtual network having the specified VNID,expiration of a predetermined amount of time, a change in aconfiguration of any VM in which is a member of the virtual networkhaving the specified VNID, change in overlay gateway properties, andchange of a TIB on any overlay gateway.

According to another embodiment, the information exchange packet may besent periodically, e.g., once per each period of time, such as every 30seconds, 1 minute, 10 minutes, 30 minutes, 1 hour, 6 hours, etc. In thisembodiment, the sending of the information exchange packet may act inconjunction with a “heartbeat” function, where if the informationexchange packet is not received during an anticipated timeframe, an endpoint station which anticipated receipt of the packet may request thatthe packet be sent. If the packet is still not received, it may indicatea problem in communication or a device failure. Accordingly, anadministrator may be alerted to such a situation, in an attempt torectify and solve whatever issue may have arisen.

In another approach, the computer readable program code configured forprocessing each received information exchange packet may comprisecomputer readable program code configured for de-encapsulating anoverlay header from the information exchange packet to retrieve an innerpacket, and computer readable program code configured for reading theinner packet to determine the information about each end point stationin the virtual network having the specified VNID that is contained inthe inner packet.

Now referring to FIG. 6, a simplified schematic of frame formats for theOTIEP are shown, according to one embodiment. The Ethernet Frame Format600 is shown graphically as a series of blocks, each block comprisingsome data. There are different portions of the Ethernet Frame Format 600shown, including a destination address (DA), a source address (SA), anEther-type identifier (Eth-Type0x88CC), and a Link Layer DiscoveryProtocol (LLDP) protocol data unit (PDU).

Each tunnel end point may create such frames, encapsulate them in anoverlay tunnel header/UDP/IP, and send the encapsulated frames to thetunnel peer.

According to the embodiments described herein, a new request-responseand voluntary TIB exchange process has been suggested for exchangingoverlay tunnel information between end point stations. For suchinteractions, LLDP may be used, which may be described as a Link Layerprotocol in the Internet Protocol Suite that is used by network devices(from multiple vendors) in order to broadcast the network device'sidentity, characteristics, and adjacent devices on an Ethernet network.In order to utilize LLDP for the purposes described herein, according tovarious embodiments, some new Type-Length-Value (TLV)s have been addedto LLDP. These may be described as an organizationally specific OTIEPTLV structure. The novel OTIEP LLDP packet format 602 includes a TLVType field, set as TLV Type 127 (but may be set to any agreed upon valueas long as it is consistently used and does not coincide with other TLVtypes already in use), a Length field which may be 9 bits, anOrganizationally Unique Identifier (OUI) field which may be 3 octets, aSubtype field which may be 1 octet, and information 604 about the endpoint stations that is being shared which may be anywhere from 0 octetsto 507 octets, depending on the need for space (e.g., amount ofinformation being conveyed). Should more space be needed, additionalOTIEP LLDP packets may be sent.

The TIB PDU may be sent per tunnel and per VNID. Information of multipleVNIDs should not be grouped together into one TIB PDU. Instead, morethan one TIB PDU should be sent, each with information about only oneVNID.

In one approach, the OTIEP Header may include the information shown inthe following block:

Protocol Version: 1 PDU Type: Init/Request/Response ONID: 24 bit Numberof VTEPs: 16 bit VTEP Info Type: 16 bit (ARP, FDB, etc . . . )where VTEP is a virtual tunnel end point, ONID is an overlay networkidentifier, and FDB is a forwarding database.

In another approach, the OTIEP Payload may include the information shownin the next block:

Values for specific data of VTEP Info Type. (Presented in List form)

According to one embodiment, a mechanism for exchanging overlay tunnelinformation may proceed as follows. The OTIEP has a control statemachine, and this state machine may handle the trigger criteria to startthe TIB exchange between the peer end point stations on a particularVNID. The state machine may have the following functionality, in oneapproach:

-   -   1. Every TIB exchange may have a TIB TYPE and TIME STAMP;    -   2. Each TIB exchange may occur at boot-up when peer end point        station links come up. Most often the non-gateway system may        initiate the exchange. To keep overheads low, this process may        be asynchronous (but synchronous processing is also possible, in        other approaches).    -   3. TIB exchange may also be triggered due to a configuration        change on one of the tunnel end points.    -   4. TIB exchange can may occur at the end of a TIB exchange        interval, thereby providing period updating.    -   5. The recipient of the system may be provided a choice of        keeping or tossing the data, depending upon the available memory        space to store the TIBs.    -   6. The TIB exchange frequency may be programmable per end point        station; however, the end point stations may exchange the        frequency of updates and agree to a common updating frequency.

Of course, more or less functionality in the state machine is possible,according to various embodiments, and as would be apparent to one ofskill in the art upon reading the present descriptions.

As shown in FIG. 7, information exchange 700 in the OTIEP may utilizedifferent packets at different timing intervals, as determined bycircumstances and be selection by an administrator of the system. Asshown in FIG. 7, end point station A 702 is exchanging information withend point station B 704. As an example, it is assumed that end pointstation A 702 communicates overlay tunnel information first (sinceTa<Tb, were this reversed and Tb<Ta, then end point station B 704 wouldsend information first), and sends this information to end point stationB 704. Then, when the second time interval Tb is reached, end pointstation B 704 sends overlay tunnel information to end point station A702. Then, when triggering events occur, TIB exchanges may take placeusing OTIEP TLVs between end point station A 702 and end point station B704. Of course, this schematic is presented for exemplary purposes only,and is not meant to be limiting in any way on the embodiments andapproaches described herein.

While various embodiments have been described above, it should beunderstood that they have been presented by way of example only, and notlimitation. Thus, the breadth and scope of an embodiment of the presentinvention should not be limited by any of the above-described exemplaryembodiments, but should be defined only in accordance with the followingclaims and their equivalents.

What is claimed is:
 1. A system, comprising: a processor and logicintegrated with and/or executable by the processor, the logic beingconfigured to cause the processor to: receive, by the processor at afirst end point station, information exchange packets from all end pointstations in a virtual network having a specified virtual networkidentifier (VNID); and process each received information exchange packetto retrieve information about connections at each end point station inthe virtual network having the specified VNID, wherein each end pointstation either terminates or originates a tunnel shared by the first endpoint station in an overlay network, and wherein each of the informationexchange packets comprise a media access control (MAC) address for allmember virtual machines (VMs) in the virtual network having thespecified VNID connected to each end point station in the virtualnetwork having the specified VNID.
 2. The system as recited in claim 1,wherein the logic is further configured to cause the processor torequest that a second end point station send an information exchangepacket to the first end point station in response to an informationexchange packet not being received from the second end point station inthe virtual network having the specified VNID during an anticipatedtimeframe.
 3. The system as recited in claim 1, wherein the logic isfurther configured to cause the processor to map tunnel identifiers foreach end point station and the MAC address of each member VM hosted inthe virtual network having the specified VNID which uses that end pointstation.
 4. The system as recited in claim 1, wherein the logic isfurther configured to cause the processor to assemble a TunnelInformation Base (TIB) for a selected tunnel end point, wherein the TIBis a table of information related to the selected tunnel end point, theTIB comprising: a Tunnel ID, the specified VNID, MAC addresses of themember VMs of the virtual network having the specified VNID, virtualport numbers corresponding to a hosting hypervisor, Address ResolutionProtocol (ARP) entries learnt by the member VMs of the virtual networkhaving the specified VNID, timers related to tunnel end points, a tunnelend point source internet protocol (IP) Address, a point-to-point ormultipoint nature of the tunnel, an IP Address of a peer tunnel endpoint, shared forwarding tables of all the member VMs of the virtualnetwork having the specified VNID, a default Gateway MAC address of eachof the member VMs, multicast MAC and IP addresses used by all the memberVMs of the virtual network having the specified VNID, and Virtual Portmembers or a Mask of member virtual ports of the virtual network havingthe specified VNID.
 5. The system as recited in claim 4, wherein thelogic is further configured to cause the processor to: receive an ARPrequest from a local member VM of the virtual network having thespecified VNID, the ARP request including a subject IP address; resolvethe ARP request by using the TIB to determine a MAC addresscorresponding to the subject IP address; and respond to the local memberVM that sent the ARP request with the MAC address corresponding to thesubject IP address.
 6. The system as recited in claim 1, wherein thelogic is further configured to cause the processor to send aninformation exchange packet to each end point station in the virtualnetwork having the specified VNID.
 7. The system as recited in claim 6,wherein the information exchange packet comprises a media access control(MAC) address for each member virtual machine (VM) of the virtualnetwork having the specified VNID connected to the first end pointstation.
 8. The system as recited in claim 6, wherein the informationexchange packet is sent in response to one of the following:establishment of a tunnel, addition of a virtual machine (VM) which is amember of the virtual network having the specified VNID, subtraction ofa VM which is a member of the virtual network having the specified VNID,expiration of a predetermined amount of time, a change in aconfiguration of any VM in which is a member of the virtual networkhaving the specified VNID, change in overlay gateway properties, andchange of a tunnel information base (TIB) on any overlay gateway.
 9. Thesystem as recited in claim 1, wherein the logic configured to cause theprocessor to process each received information exchange packet isfurther configured to cause the processor to: de-encapsulate an overlayheader from the information exchange packet to retrieve an inner packet;and read the inner packet to determine the information about each endpoint station in the virtual network having the specified VNID.
 10. Acomputer program product for exchanging overlay tunnel information, thecomputer program product comprising a computer readable hardware storagedevice having computer readable program code embodied therewith, thecomputer readable program code comprising: computer readable programcode configured for receiving, at a first end point station, aninformation exchange packet from each end point station in a virtualnetwork having a specified virtual network identifier (VNID); andcomputer readable program code configured for processing each receivedinformation exchange packet to retrieve information about connections ateach end point station in the virtual network having the specified VNID,wherein each end point station either terminates or originates a tunnelshared by the first end point station in an overlay network, and whereinthe information exchange packet comprises a media access control (MAC)address for each member virtual machine (VM) of the virtual networkhaving the specified VNID connected to each end point station.
 11. Thecomputer program product as recited in claim 10, further comprisingcomputer readable program code configured for mapping tunnel identifiersfor each end point station and the MAC address for each VM hosted in thevirtual network having the specified VNID which uses that end pointstation.
 12. The computer program product as recited in claim 10,further comprising computer readable program code configured forassembling a Tunnel Information Base (TIB) for a selected tunnel endpoint, wherein the TIB is a table of information related to the selectedtunnel end point, the TIB comprising: a Tunnel ID, the specified VNID,MAC addresses of the member VMs of the virtual network having thespecified VNID, virtual port numbers corresponding to a hostinghypervisor, Address Resolution Protocol (ARP) entries learnt by themember VMs of the virtual network having the specified VNID, timersrelated to tunnel end points, a tunnel end point source internetprotocol (IP) Address, a point-to-point or multipoint nature of thetunnel, an IP Address of a peer tunnel end point, shared forwardingtables of all the member VMs of the virtual network having the specifiedVNID, a default Gateway MAC address of each of the member VMs, multicastMAC and IP addresses used by all the member VMs of the virtual networkhaving the specified VNID, and Virtual Port members or a Mask of membervirtual ports of the virtual network having the specified VNID.
 13. Thecomputer program product as recited in claim 12, further comprising:computer readable program code configured for receiving an ARP requestfrom a local member VM of the virtual network having the specified VNID,the ARP request including a subject IP address; computer readableprogram code configured for resolving the ARP request by using the TIBto determine a MAC address corresponding to the subject IP address; andcomputer readable program code configured for responding to the localmember VM that sent the ARP request with the MAC address correspondingto the subject IP address.
 14. The computer program product as recitedin claim 10, further comprising computer readable program codeconfigured for sending an information exchange packet to each end pointstation in the virtual network having the specified VNID.
 15. Thecomputer program product as recited in claim 14, wherein the informationexchange packet comprises media access control (MAC) addresses of membervirtual machines (VMs) of the virtual network having the specified VNID.16. The computer program product as recited in claim 14, wherein theinformation exchange packet is sent in response to one of the following:establishment of a tunnel, addition of a virtual machine (VM) which is amember of the virtual network having the specified VNID, subtraction ofa VM which is a member of the virtual network having the specified VNID,expiration of a predetermined amount of time, a change in aconfiguration of any VM in which is a member of the virtual networkhaving the specified VNID, change in overlay gateway properties, andchange of a tunnel information base (TIB) on any overlay gateway. 17.The computer program product as recited in claim 10, wherein thecomputer readable program code configured for processing each receivedinformation exchange packet comprises: computer readable program codeconfigured for de-encapsulating an overlay header from the informationexchange packet to retrieve an inner packet; and computer readableprogram code configured for reading the inner packet to determine theinformation about each end point station of the virtual network havingthe specified VNID that is contained in the inner packet.